package gitee.derumin.lifeissohard.lishhungersystem;

import gitee.derumin.lifeissohard.effects.LishStatusEffects;
import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.item.FoodComponent;

public abstract class CustomVanillaFoodComponents {

    public static final FoodComponent APPLE = (new FoodComponent.Builder()).hunger(1).saturationModifier(1.2F).build();
    public static final FoodComponent BAKED_POTATO = (new FoodComponent.Builder()).hunger(2).saturationModifier(1.6F).build();
    public static final FoodComponent BEEF = (new FoodComponent.Builder()).hunger(6).saturationModifier(2.5F).meat().statusEffect(new StatusEffectInstance(LishStatusEffects.DIARRHEA,360,0),0.1F).build();
    public static final FoodComponent BEETROOT = (new FoodComponent.Builder()).hunger(2).saturationModifier(1.6F).build();
    public static final FoodComponent BEETROOT_SOUP = (new FoodComponent.Builder()).hunger(5).saturationModifier(7.2F).build();
    public static final FoodComponent BREAD = (new FoodComponent.Builder()).hunger(5).saturationModifier(1.4F).build();
    public static final FoodComponent CARROT = (new FoodComponent.Builder()).hunger(1).saturationModifier(1.5F).build();
    public static final FoodComponent CHICKEN = (new FoodComponent.Builder()).hunger(7).saturationModifier(2.5F).statusEffect(new StatusEffectInstance(StatusEffects.NAUSEA, 200, 0), 0.3F).statusEffect(new StatusEffectInstance(LishStatusEffects.DIARRHEA,360,0),0.3F).meat().build();
    public static final FoodComponent CHORUS_FRUIT = (new FoodComponent.Builder()).hunger(1).saturationModifier(0.9F).alwaysEdible().build();
    public static final FoodComponent COD = (new FoodComponent.Builder()).hunger(3).saturationModifier(1.1F).statusEffect(new StatusEffectInstance(LishStatusEffects.DIARRHEA,200,0),0.2F).build();
    public static final FoodComponent COOKED_BEEF = (new FoodComponent.Builder()).hunger(6).saturationModifier(2.1F).meat().build();
    public static final FoodComponent COOKED_CHICKEN = (new FoodComponent.Builder()).hunger(7).saturationModifier(2.1F).meat().build();
    public static final FoodComponent COOKED_COD = (new FoodComponent.Builder()).hunger(3).saturationModifier(1.0F).build();
    public static final FoodComponent COOKED_MUTTON = (new FoodComponent.Builder()).hunger(7).saturationModifier(2.1F).meat().build();
    public static final FoodComponent COOKED_PORKCHOP = (new FoodComponent.Builder()).hunger(7).saturationModifier(2.5F).meat().build();
    public static final FoodComponent COOKED_RABBIT = (new FoodComponent.Builder()).hunger(4).saturationModifier(2.3F).meat().build();
    public static final FoodComponent COOKED_SALMON = (new FoodComponent.Builder()).hunger(3).saturationModifier(1.0F).build();
    public static final FoodComponent COOKIE = (new FoodComponent.Builder()).hunger(1).saturationModifier(0.2F).build();
    public static final FoodComponent DRIED_KELP = (new FoodComponent.Builder()).hunger(3).saturationModifier(0.4F).snack().build();
    public static final FoodComponent ENCHANTED_GOLDEN_APPLE = (new FoodComponent.Builder()).hunger(3).saturationModifier(1.9F).statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 600, 2), 1.0F).statusEffect(new StatusEffectInstance(StatusEffects.RESISTANCE, 6000, 1), 1.0F).statusEffect(new StatusEffectInstance(StatusEffects.FIRE_RESISTANCE, 6000, 0), 1.0F).statusEffect(new StatusEffectInstance(StatusEffects.ABSORPTION, 2400, 3), 1.0F).statusEffect(new StatusEffectInstance(StatusEffects.STRENGTH,1200,1),1.0F).alwaysEdible().build();
    public static final FoodComponent GOLDEN_APPLE = (new FoodComponent.Builder()).hunger(3).saturationModifier(1.9F).statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 600, 0), 1.0F).statusEffect(new StatusEffectInstance(StatusEffects.ABSORPTION, 2400, 1), 1.0F).alwaysEdible().build();
    public static final FoodComponent GOLDEN_CARROT = (new FoodComponent.Builder()).hunger(8).saturationModifier(3.1F).build();
    public static final FoodComponent HONEY_BOTTLE = (new FoodComponent.Builder()).hunger(2).saturationModifier(1.0F).build();
    public static final FoodComponent MELON_SLICE = (new FoodComponent.Builder()).hunger(1).saturationModifier(2.1F).build();
    public static final FoodComponent MUSHROOM_STEW = (new FoodComponent.Builder()).hunger(1).saturationModifier(6.2F).build();
    public static final FoodComponent MUTTON = (new FoodComponent.Builder()).hunger(7).saturationModifier(2.5F).meat().statusEffect(new StatusEffectInstance(LishStatusEffects.DIARRHEA,360,0),0.2F).build();
    public static final FoodComponent POISONOUS_POTATO = (new FoodComponent.Builder()).hunger(2).saturationModifier(1.6F).statusEffect(new StatusEffectInstance(StatusEffects.POISON, 200, 0), 0.6F).build();
    public static final FoodComponent PORKCHOP = (new FoodComponent.Builder()).hunger(7).saturationModifier(2.5F).meat().statusEffect(new StatusEffectInstance(LishStatusEffects.DIARRHEA,360,0),0.2F).build();
    public static final FoodComponent POTATO = (new FoodComponent.Builder()).hunger(2).saturationModifier(1.8F).build();
    public static final FoodComponent PUFFERFISH = (new FoodComponent.Builder()).hunger(1).saturationModifier(0.6F).statusEffect(new StatusEffectInstance(StatusEffects.POISON, 1200, 1), 1.0F).statusEffect(new StatusEffectInstance(StatusEffects.NAUSEA, 300, 0), 1.0F).statusEffect(new StatusEffectInstance(LishStatusEffects.DIARRHEA,180,0),0.2F).build();
    public static final FoodComponent PUMPKIN_PIE = (new FoodComponent.Builder()).hunger(7).saturationModifier(1.8F).build();
    public static final FoodComponent RABBIT = (new FoodComponent.Builder()).hunger(4).saturationModifier(2.8F).meat().statusEffect(new StatusEffectInstance(LishStatusEffects.DIARRHEA,400,0),0.2F).build();
    public static final FoodComponent RABBIT_STEW = (new FoodComponent.Builder()).hunger(8).saturationModifier(9.9F).build();
    public static final FoodComponent ROTTEN_FLESH = (new FoodComponent.Builder()).hunger(2).saturationModifier(1.2F).statusEffect(new StatusEffectInstance(LishStatusEffects.DIARRHEA,300,2),0.8F).meat().build();
    public static final FoodComponent SALMON = (new FoodComponent.Builder()).hunger(3).saturationModifier(1.1F).statusEffect(new StatusEffectInstance(LishStatusEffects.DIARRHEA,200,0),0.1F).build();
    public static final FoodComponent SPIDER_EYE = (new FoodComponent.Builder()).hunger(1).saturationModifier(0.3F).statusEffect(new StatusEffectInstance(StatusEffects.POISON, 100, 0), 1.0F).statusEffect(new StatusEffectInstance(LishStatusEffects.DIARRHEA,180,0),0.1F).build();
    public static final FoodComponent SUSPICIOUS_STEW = (new FoodComponent.Builder()).hunger(2).saturationModifier(6.3F).alwaysEdible().statusEffect(new StatusEffectInstance(LishStatusEffects.DIARRHEA,360,1),0.03F).build();
    public static final FoodComponent SWEET_BERRIES = (new FoodComponent.Builder()).hunger(1).saturationModifier(0.7F).build();
    public static final FoodComponent GLOW_BERRIES = (new FoodComponent.Builder()).hunger(1).saturationModifier(1.4F).build();
    public static final FoodComponent TROPICAL_FISH = (new FoodComponent.Builder()).hunger(2).saturationModifier(0.6F).statusEffect(new StatusEffectInstance(LishStatusEffects.DIARRHEA,180,0),0.2F).build();
    public static final FoodComponent SUGAR = (new FoodComponent.Builder()).hunger(1).saturationModifier(0.3f).build();
    public static final FoodComponent IMAGED_CAKE = (new FoodComponent.Builder()).hunger(0).saturationModifier(0f).alwaysEdible().build();
    public static final FoodComponent COOKED_EGG = (new FoodComponent.Builder()).hunger(2).saturationModifier(0.6f).meat().build();
    public static final FoodComponent WATER = (new FoodComponent.Builder()).hunger(0).saturationModifier(0f).meat().build();

}
